#!/usr/bin/env bash
pid=`ps -ef | grep "litemall.jar" | grep -v "$0" | grep -v "grep" | awk '{print $2}'`
if [  -n  "$pid"  ];  then
    kill  -9  $pid;
fi
nohup java -Dfile.encoding=UTF-8 -jar litemall.jar >out.txt 2>&1 &